package fudan.se.project.controller.response;

import fudan.se.project.repository.projection.ConferenceProjection;
import lombok.AllArgsConstructor;
import lombok.Setter;
import java.util.List;

@Setter
@AllArgsConstructor
public class ConferencesGetResponse extends BaseResponse{

    private int totalPages;
    private List<ConferenceProjection> conferences;

    public int getTotalPages() {
        return totalPages;
    }

    public List<ConferenceProjection> getConferences() {
        return conferences;
    }
}
